package com.life.goal.infrastructure.exception;

public enum UserErrorCodeEnum implements BaseErrorCodeEnum{

    USER_NAME_NOT_EXIST("001", "用户名不存在！"),
    USER_PASSWORD_NOT_RIGHT("002", "用户名或密码不正确！")

    ;

    private String errorCode;

    private String errorMsg;

    UserErrorCodeEnum(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    @Override
    public String getErrorCode() {
        return errorCode;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }
}
